<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<div class="center_content">
	<div class="center_title_bar">Create an Account</div>
	<div class="prod_box_big">
		<div class="center_prod_box_big">
			<form id="frmRegister" name="frmRegister" method="post"
				action="Register.do">
				<div class="login_form">
					<div class="login_form_row">
					<p>	Already have a account? </p>
						<a href="LoadSignin.do"><b>Sign in</b></a> to join website and get rewards online.
					</div>
					<div class="login_form_row">
						<label class="contact"><strong>First Name:</strong></label> 
						<input type="text" class="contact_input" name="firstname" value="${requestScope.firstname }"/>
					</div>
					<div class="login_form_row">
						<label class="contact"><strong>Last Name:</strong></label> 
						<input type="text" class="contact_input" name="lastname" value="${requestScope.lastname }"/>
					</div>
					<div class="login_form_row">
						<label class="contact"><strong>E-Mail Address:</strong></label> 
						<input type="text" class="contact_input" name="email" value="${requestScope.email1 }"/>
						*
					</div>
					<div class="login_form_row">
						<label class="contact"><strong>Reenter E-Mail Address:</strong></label> 
						<input type="text" class="contact_input" name="reenteremail"/>
						 *
					</div>
					<div class="login_form_row">
						<label class="contact"><strong>Password:</strong></label> 
						<input type="password" class="contact_input" name="password" />
						*
					</div>
					<div class="login_form_row">
						<label class="contact"><strong>Reenter Password:</strong></label> 
						<input type="password" class="contact_input" name="reenterpassword" />
						*
					</div>
					<div class="login_form_row">
						<label class="contact"><strong>Zip Code:</strong></label> 
						<input type="text" class="contact_input" name="zipcode" value="${requestScope.zipcode }"/>
					</div>
					<div class="login_form_row">
						<label class="contact"><strong>Phone Number:</strong></label> 
						<input type="text" class="contact_input" name="phonenumber" value="${requestScope.phonenumber }"/>
					</div>

					<div class="login_form_row">
						<input type="submit" name="Register" value="Register" />
					</div>
					<c:if test="${requestScope.returnResult != null}">
						<c:if test="${requestScope.returnResult == false}">
							<div class="login_form_row">
								<font color="#FF0000">E-Mail is existed! Please choose another E-Mail</font>
							</div>
						</c:if>
					</c:if>
					<c:if test="${requestScope.emailandpassword != null}">
							<div class="login_form_row">
								<font color="#FF0000">${requestScope.emailandpassword}</font>
							</div>
					</c:if>
					<c:if test="${requestScope.fullinfo != null}">
							<div class="login_form_row">
								<font color="#FF0000">${requestScope.fullinfo}</font>
							</div>
					</c:if>
				</div>
			</form>
		</div>
	</div>
</div>